package com.jinxin.platform.cdfaceacs.controller;

import com.jinxin.platform.cdfaceacs.pojo.domains.AcsControlImageInfoDO;
import com.jinxin.platform.cdfaceacs.service.AcsControlImageInfoService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * (AcsControlImageInfo)表控制层
 *
 * @author makejava
 * @since 2020-04-28 16:27:39
 */
@RestController
@RequestMapping("/acsControlImageInfo")
public class AcsControlImageInfoController {
    /**
     * 服务对象
     */
    @Resource
    private AcsControlImageInfoService acsControlImageInfoService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("/selectOne")
    public AcsControlImageInfoDO selectOne(String id) {
        return acsControlImageInfoService.queryById(id);
    }
}